﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    public enum Seasons { Winter, Summer }
    public class Wheel
    {
        public double Length;
        public double Square;
        private const double Pi = 3.14;     // константа видна только в классе Wheel
        protected double rad = 2.05;       //переменная не видна в др. классах
        public double Rad
        {
            get
            {
                return rad;          
            }
            set
            {
                rad = value;
            }
        }
        public Seasons Seasons { get; set; }
        public void Rotate()             //описание метода
        {
            //тело метода
        }
        public void param()
        {
                Length = 2 * Pi * rad;
                Square = Pi * rad * rad;
                Console.WriteLine("Length of the wheel is: " + Length + "\tSquare is: " + Square);
        }
    }
}
